package com.suny.FarmStocks.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@Schema(description = "存栏信息VO")
public class FarmStocksVO implements Serializable {
    @Schema(description = "ID")
    private Integer id;
    
    @Schema(description = "牧场ID")
    private Integer farmId;
    
    @Schema(description = "牧场名称")
    private String farmName;
    
    @Schema(description = "存栏数量")
    private Integer livestockCount;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "创建时间")
    private Date createdTime;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "更新时间")
    private Date updatedTime;
} 